<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Tetris: TPiece Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tetris
   
   </div>
   <div id="projectbrief">Um jogo do tipo tetris</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">TPiece Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TPiece" --><!-- doxytag: inherits="Piece" -->
<p>Classe do tipo <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code>.  
 <a href="class_t_piece.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="tpiece_8h_source.html">tpiece.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TPiece:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_t_piece.png" usemap="#TPiece_map" alt=""/>
  <map id="TPiece_map" name="TPiece_map">
<area href="class_piece.html" title="Classe abstrata do tipo Piece." alt="Piece" shape="rect" coords="0,0,51,24"/>
</map>
 </div></div>

<p><a href="class_t_piece-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00908c820c89ab27a6e75c62c2c29949"></a><!-- doxytag: member="TPiece::TPiece" ref="a00908c820c89ab27a6e75c62c2c29949" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_piece.html#a00908c820c89ab27a6e75c62c2c29949">TPiece</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construtor padrão classe <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac7e7063364479fd567f6d266d0d8656"></a><!-- doxytag: member="TPiece::~TPiece" ref="aac7e7063364479fd567f6d266d0d8656" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_piece.html#aac7e7063364479fd567f6d266d0d8656">~TPiece</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destrutor padrão classe <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QList&lt; QRect &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_piece.html#a657ec12ea49647dd7b2360c9f8e55d37">rotacione</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Função membro pública da classe <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code> para rotacionar as peças do tipo T. Faz a rotação de peças do tipo <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code> considerando o centro de <em><a class="el" href="class_piece.html#a6d49bc83e538a28c53e2580c53cdcc4c">Piece::m_Quadrados</a></em>[1] como referência de rotação. Faz a rotação no sentido horário com incrementos de 90°.  <a href="#a657ec12ea49647dd7b2360c9f8e55d37"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Classe do tipo <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code>. </p>
<p>Esta classe herda as propriedades da classe <code><a class="el" href="class_piece.html" title="Classe abstrata do tipo Piece.">Piece</a></code>. Ela possui as características individuais de uma peça do tipo <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code> e o evento de rotação da mesma. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Ghybson </dd>
<dd>
Luís </dd>
<dd>
Willian </dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd>0.1 </dd></dl>
<dl class="date"><dt><b>Date:</b></dt><dd>2011 </dd></dl>
<dl class="copyright"><dt><b>Copyright:</b></dt><dd>GNU Public License. </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a657ec12ea49647dd7b2360c9f8e55d37"></a><!-- doxytag: member="TPiece::rotacione" ref="a657ec12ea49647dd7b2360c9f8e55d37" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; QRect &gt; TPiece::rotacione </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Função membro pública da classe <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code> para rotacionar as peças do tipo T. Faz a rotação de peças do tipo <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code> considerando o centro de <em><a class="el" href="class_piece.html#a6d49bc83e538a28c53e2580c53cdcc4c">Piece::m_Quadrados</a></em>[1] como referência de rotação. Faz a rotação no sentido horário com incrementos de 90°. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Retorna a lista de <code>QList&lt;QRect&gt;</code> com os retângulos da <code><a class="el" href="class_t_piece.html" title="Classe do tipo TPiece.">TPiece</a></code> rotacionados. </dd></dl>

<p>Implements <a class="el" href="class_piece.html#a99eb401422a1788143851650d3cddb8b">Piece</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="tpiece_8h_source.html">tpiece.h</a></li>
<li>tpiece.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 12:33:36 for Tetris by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
